added dihedral calculation for all the chi angles (chis 1-4 )