Initial CUDA with multidim
Adding multidim functionality to CUDa backend