Implemented contractive autoencoders

Added support for [contractive autoencoders](http://machinelearning.wustl.edu/mlpapers/paper_files/ICML2011Rifai_455.pdf) to CAutoencoder