Set algorithms

Fixed minor errors when kernels where getting queued with 0 global size. Also added benchmarks.