Added NeuronStateWritable as a wrapper class for neuron state and edge weight