Trouble creating setpoint with user defined curves