check in of cachematrix implementation