A Generalized Cubic Observer for State Estimation of Linear Systems