removed is equal check in set intput values
cleanups in matrix tests