moved all definitions from boundary.hpp to molecules.hpp, and renamed DistanceNrPair to DistancePair.