Fault detection in nonlinear systems using estimated parity equations