local.c_read() works for more than 2 dimension variables when returning mat format