commented out input checking

as per assignment assume input is always invertible