Statistically defines meal boundaries from empirical data and calculates meal metrics