A Nonlinear Model Predictive Control for an AUV to Track and Estimate a Moving Target Using Range Measurements