Added degree 3 interpolation for PWM signals