Refactored MyMath angle convexity methods, added unit tests