A spinning gyroscope doesn't lock onto the Earth, it locks onto the universe, so how do ships coax it into pointing north?