refactored and shifted torsion angles