Development And Application Of All-Atom Structure-Based Models For Studying The Role Of Geometry In Biomolecular Folding And Function