Adding cachematrix assigment