move inverted matrix to prefetchCode