Made <batchAdd> work with CUDA
Added test in test_confusion