EPS was added. Functions for nonsingular matrixs are finished