A Low Complexity 6DoF Magnetic Tracking System For Biomedical Applications