started implementing calc_pos() helper function.
added to elevator_movement_t struct.
started implementing elevator movement state machine functionality.
added a FIXME note.
added more helper functions.
implemented state machine and position functionality in calc_pos() function.
updated get acceleration and deceleration functions.
updated get acceleration and deceleration functions.
added code which should resolve accumulation errors from preventing elevator stopping short of destination floor.