Lattice segmentation

New lattice segmentation / coarse graining functions, and some supporting changes in precision measurements file.