optimized indexSelect
added speed compare
fixed test.lua
harmonized THCudaTensor_indexSelect to cutorch semantics
small bug
indexSelect_kernel arguments
Merge branch 'indexSelect' of github.com:hycis/cutorch into indexSelect
fixed indexSelect speed test
indexSelect compiles again
indexSelect works
added 3D unit test for index
Merge pull request #18 from soumith/indexSelect

Index select rebased