Update neuron_monitor.c

Added portability. Fixed constants.