Added MatrixKK which precomputes a matrix that can be multiplied by
the real data to give the necessary factors.

Memory consumption is an issue, will need to think of how to get around this.