Copied over Magnetometer code

Call LocalizeTRealWithMagnetometer after your preferred localization
function in the main loop.

If we want more accurate odometry, we could use the magnetometer to
calculate x and y when we get new magn data.