Added method MetricData.setNextMetricDataToNull() - to null out
ref and hence prevent inadvertantly chaining MetricDatas together
as they are passed from day to day.