Moving Horizon Estimation For Continuum And Noncontinuum States With Applications In Distillation Processes