updated java code to distinguish between local errors and errors in NEURON, fixed bug related to missing max membrane potential