fill in cachematrix and make cache matrix functions