-Modified gauss-jordan elimination to allow the user to supply an input