Fixed bug with converting record number cadence.
Handles errors with magnetic corrdinate generator better.