add fields for output neuron info
add output for min distance