Fix sine generation for mif format
Add ability to write binary output in sine mode