Pedrosa takes points with second