Same same but faster
Implement Tan improvement for all the agent distribution calculations
And then speed up use of FnsToEvaluate
Same same but faster
Implement Tan improvement for all the agent distribution calculations
And then speed up use of FnsToEvaluate