Massa hails a 'perfect lap'