fixes in pump and lights

returned correct value in smooth ramp for peak pwm value and also set
the constraint for sine mode to 0 because we're using the Threshold
function for dcpump now.