cachematrix version 2

version 2