Minor fixes for jcuda
Merge pull request #30 from n-lagomarsini/cudafix

Minor fixes for jcuda