added back arg checks
Merge branch 'master' of github.com:torch/cutorch into cudatensor
Merge pull request #31 from nicholas-leonard/cudatensor

added back arg checks