State observers for systems with sensors modeled by polynomials and rational function