some bugs are corrected here, these changes should only affect dim with torsions

git-svn-id: https://svn.ices.utexas.edu/repos/clsb/trunk/moil@4898 90e2fc84-bd37-0410-82f1-ae2f889bfac2