Decoding 3D search coil signals in a non-homogeneous magnetic field.