Fixed nasty bug when adding top layer to network.  Updated such that n_layers is NOT specified ... set automatically by dbn() constructor.