Fixed Pierson-Moskowitz generation bug