@Author Tim Smith

*Added support for keyboard control
*Added angle math for angle to pulse control