changed the ResidualPhaseTensor to I-pt1^-1*pt1 and added attribute residual_pt which is a PhaseTensor object so you can calculate skew, azimuth, etc.