Create makecachmatrix