Neuron code for performing parameter optimisation on complex single cell models