Python Find Intersection Of Two Functions