Added 2-point correlation statistic; Added CanError type class to remove unneeded Strict.Maybe in inner loop of nearest neighbor calculation