Solves text-inputted matrices to reduced echelon form or determinant