rand,randn wrapping
Merge pull request #76 from torch/THAPI_fix2

rand,randn wrapping