Neural Component Analysis for Fault Detection