Wrote the Kokkos functor. Not entirely sure how I'm supposed to do copying