function to remove the machine precision error
machinePrecision(A)
A
: Input matrix
A : return matrix