added proto dihedral angle calc