Cleaned up movement code

also, added stride length attribute to AnimateObjects