CLIMATE-463 refactoring calcBiasAveragedOverTime metric