cleaned up code and added kokkos warmup