Rewritten compute_stats and compute_stats2
Rewritten compute_stats and compute_stats2

gem/oq-hazardlib,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-hazardlib,gem/oq-engine,gem/oq-hazardlib,gem/oq-engine