Added functionality to cachematrix and described changes in README