completed cachematrix

completed cachematrix