made computeFluxDeltaValues public so that we can write unit tests for it