rotation code now uses max eigs