added prebuilt waveform option and a coherent array generation utility:x: