Position Estimation Using Magnetic Fields