Adding regression cost layer, sigmoid nonlinearity, two new demos: 1d regression demo and a denoising autoencoder.