Uses the diagonalisation matrix w to rotate a given GF into the new basis.
gf_to_rot : BlockGf
Green’s function block to rotate.
gfreturn : BlockGf
Green’s function rotated into the new basis.