Removed previous calculate function
Removed previous filter function
Removed time window argument
Small changes in update_load_history