Update cachematrix script - v1.0