Functions to cache solve matixes. First version