added jumping, added dynamic gravity calculations