Renamed instantiate_func to instantiate in arrfunc structure
Add __call__ to the arrfunc wrapper object