Implemented denoising autoencoders

Added a CAutoencoder class that supports normal and denoising single layer autoencoders.