Optionally calculate only eigenenergies
Nicer example