Undid one of the slope changes. Going up slopes is still fixed, but my
solution for going down had some corner cases.