Changed variable name height to phaseVelocity