Added slope finding to joystickMap