Added a method to get the last output energy. Only implemented for ORCA