cachematrix

added comments