Updated versoin of cachematrix with updated format to improve readability