Linearisation metrics calculation
Merge remote-tracking branch 'xyan075/linearisation' into single_region_contact