Bugfix for overlap calculation
Re Added instrumentation to the dynamo code