added test.ops and added voltage gain for converting voltage to PWM