-bug fix: placement of parentheses / order of operations in spherical law of cosines expression