still debugging
Fixed closest point. Hopefully
Repaired None return value
Fixed?