cachedMatric function commited
committing the template and cacheMatrix files