1. Added validity checker.
2. Added nodeobservability check function to observation model
3. Tested state sampler