Pedrosa ridng ahead of Barberá and Hayden