This is my cachematrix function