Converted over to Arduino Due board.  Added in 20KHz PWM for Due and added invert feature to motor control to reverse directions of forward and backward