Development of a Ripple Rejection Controller for DC Commutated Motors