Created class to compute various statistics on the data