function to model errors propagation for a neutron experiment.