Add more example usage for cachematrix