A few fixes for eigenembeddings and better memory handling for LA