Fixed spaghetti/coffee/sleepdeprived code and made it so I can actually do a physics system at one point.