Phi function added, relatively prime tester and lineIntersectBySlope removed