Added public rref method & matrix private methods(isDiagonal, isScalar, isZero)