 Some lattice clean ups
 Some lattice clean ups

made validation functions modular.
Easier to read sanitize function.

iModels/mbuild,ctk3b/mbuild,tcmoore3/mbuild,iModels/mbuild,tcmoore3/mbuild,summeraz/mbuild,summeraz/mbuild,ctk3b/mbuild