improving the evalFromRawMatrix decomposition