basic user entry of matrices