Modified some functions for adding neuron data to the DB.