fix to angspeed function and 3800Hz end ramp