updated matrix cache inverse