Made default parameter conversion a static method rather than a lamda expression
@colm.talbot @gregory.ashton I changed this because waveform generators can't be used in some contexts with multiprocessing. Lambda expressions can't be pickled, so I had to convert it to a static method.