* Fixed many sample generation bugs * IMD tests now generating as expected * WAV writing fundamentals in place