updated uncertainty methods and statistics calculations
Extra function in preprocess to handle more general raw-logs such as youbot logs