updated convex_algorithm.c according to pseudocode
changed precision in circle_get_intersectionf