finished cleaning up the kokkos cuda implementation