Adding an onGround boolean to control jumping and tweaking speeds.