Autoencoder Matlab Example Of Computing The Variance