Neural networks-based fault detection with applications in ink jet printers