Disallow negative dimensions and n_neurons