Changed states() to get_states() and so on.
Fixed Panda's code. Added "self" to functions
Added is_observed, set_observed, reset_observed