array to Mat problem