Precalc matrix exponenetials