Improvements to BG Statistical Analysis

Improvements in stats processing for hypo & hyper events, trend
function for identify mean, median, population % change in blood
glucose.