Mat Is Not A Numerical Tuple