Added Konrad's gravity function. Movement was behaving weirdly so I commented the line out until the next meeting.