add servo safety check, servo max, min pwm values
fix mistake: margin * factor needs offset

it's not enough to just multiply the factor for the sail
with the margin,
it also needs to be offset by the minimum PWM value