Trivial reorganization within file.
Minor changes to dist-from-min, dist-from-max
trivial comment formatting
Comments