Matrix Cache Function  Intial