Pedrosa ends season on a high