be careful about modules with table inputs/outputs
handle tables with 1 input in gradInput
Merge branch 'master' of github.com:koraykv/torch-nngraph