Added very simple add and mul constant modules.
Add minibatch support for nn.JoinTable and nn.SplitTable

The method setNumInputDims allows forwarding both minibatch and
non-minibatch tensors through the same module.
If this method is not used, the behaviour of these modules is the
same as before.
fixed a numerical issue in the SoftPlus module (it breaks for input greater than about 20).  Added a beta value to control the 'softness' of the transfer function (default is 1).
Merge branch 'master_remote' of github.com:jonathantompson/nn into softplus_improved
Merge pull request #18 from jonathantompson/softplus_improved

Softplus improved
Merge pull request #19 from jonathantompson/constant_funcs

Added very simple add and mul constant modules.
typo fix!
Remove setNumInputDims method in JoinTable and SplitTable

Now nInputDims is an optional parameter in the constructor of these modules.
Add nn.View module

This module creates a new view of the input tensor without copying it.
Merge pull request #17 from sergomezcol/master

Add minibatch support for nn.JoinTable and nn.SplitTable
Merge pull request #20 from sergomezcol/view_module

Add nn.View module
Added SpatialUpSamplingNearest module.
Merge pull request #21 from jonathantompson/upsamplingnearest

Added SpatialUpSamplingNearest module.