Added some mini functions to standardcalc so that the code is a little easier to understand in station keeping (getOppositeBoxSideFrom etc.). Fixed a logic bug in the getDistanceToLine function. However, wrote a test for said new function, and can't get it to pass. I suspect that my ordinary Euclidean math can't be applied because it uses the weird distance calculation for a curved surface. Will followup tomorrow