First versions of matrix diagonals and timeseries addition