Finished physics refactoring, fixed jumping issue.