Corrections to the Adj Roe method and the P and invP matrix computations