started writing a TimeSeries class and realised that the name Matrix is not very accurate. Going to rename Matrix into Table after this commit and then TimeSeries will inherit from Table