cachematrix file updated with my function