adding pwm curve which is really nice for pwm control, but I have not managed smooth pid control yet