On the Errors in the Course of Vessels, Occasioned by Local Attraction; With Some Remarks on the Recent Loss of His Majesty's Ship Thetis