Rewrote movement code to account for non linear time
Added test for go_to_state_change