Fixed the artificial over-relaxation and improved the speed of the inversion of the matrix