Pulse Width Modulation Method Applied to Nonlinear Model Predictive Control on an Underactuated Small Satellite