Added element-wise min, max, clamp and mod

Added indexSum and indexProd
Merge branch 'master' of github.com:Saulzar/cutorch