give an energy value even if scf fails
add cartesian matrix back