First template code for WCMA
Add missing function parameters in documentation
Rename index variable and implement initialization
Remove index function parameter
Implement next prediction calculation
Overload Array::sum to only sum up the first or last values
Overload Array::average to only average the first or last values
Implement last_24h_avg()
Move time distance weight calculation funktion to initialization
Implement mean of past days calculation
Implement dot product
Implement past days quotient calculation
Implement GAP calculation
Fix various calculations and some variable renaming
Fix past days quotient calculation
Add debug output
Fix weightingFactor, was wrong data type
Fix day_index initialization and increment
Replace unsigned int with size_t for array indices
Cosmetics - reindent