Spherical Trigonometry with Naval and Military Applications