implemented corrected version of line.intersect(circle) and added circle.intersect(line)