explicitly check for duplicate points, to avoid NANs in computations.
explicitly check for duplicate points, to avoid NANs in computations.

tudelft3d/masbcpp,jeffcoukell/masbcpp,jeffcoukell/masbcpp,tudelft3d/masbcpp