Cache Inverse Matrix sript