Bug fix

+round flow count for data imputation
+use floor function to treat cases when the data stream does not start
from 00:30