Adding support for different osc types. Fixing lengths. Adding length to example output