Optimal Path Planning and Cost Minimization for a Drone Delivery System Via Model Predictive Control