cachmatrix SOLUTION