Magnetic Tracking for Medical Applications