Removed user_func dependency from both vect and mpi_adv