Add UDFs for array: sum_array and findall_array