fixed bug in calc_xy_princ_stresses...