Error 1013: To run a builtin function on an input array, that input array must have dimension equal to or greater than the func.