fixed problem in calculateJump (this was the cause of the small
jumpdistances). Still have issues with jump, updating seems to not
propperly work after a turn.