- first pass at adding matlab support, compiles and works
- changed pwm freq to 10kHz to plug directly to a 10ksample block in
matlab