fixed plotting residual phase tensors