added more to the layer and neuron classes