ZonalMetric with offset correction

see issue #114