fixed a bug in CUDA norm
Merge pull request #175 from 2ndforks/master

fixed a bug in CUDA norm