Added a parameter to Configuration::compare to specify whether or not we consider the base orientation when finding the distance between two configurations. If we do, use the utility function displaceAngle