Fixed jumping physics

Fixed the behaviour for jumping, feels a lot smoother now