Getting closer to an answer... the problem is that localInterPt is not actually satisfying any of the conditions that we've been checking...