Unit fixes for NEURON export

This should fix #1, #2  and #5.