Checked the gradInput sizes.

I updated the gradient checking to check that the gradInput size matches the input size.

I don't know how to call the CopyModule constructor, without defining totem._nn_CopyModule.
Tell me, if there is a better way.