Issue #63: Moved various functions from GeometryContext to MyMath