Major bug fix: One constraint per DoF in Internal Alignment Equations
code clean up