Completed cachematrix Functions