mc_tools : add precomputation (first draft)

- add precomputation as auxiliary measure,
computed before the accumulation of measures.