Refactored gravity into foot movement. Jump height is now configurable.