Modify the calculation of reconstruction cost 

Follow the way in RBM calculation of reconstruction cost. Without axis input, T.sum(*) is already a scalar.
Merge pull request #2 from jungle-cat/patch-2

Modify the calculation of reconstruction cost