Modeling and Control of a Magnetic Drug Delivery System