Development of a low-cost generator for the testing of current transducers under non-sinusoidal conditions