the significance of the magnetic compass in navigation