Fixing compile errors for refactoring to better time-series representation to handle missing data points