Fixed precomptri closest pt fn