Added license to CUDA files
Style change
Removed unused methods