Added daily activity pattern and replacement of  missing values