Add sparse activation autoencoder cost

I couldn't find a cost for autoencoder sparse activations in the library. This PR implements regularization on the KL divergence from the desired average activation of each hidden unit as described in Andrew Ng's CS294A Lecture Notes.