Separated the eigenenergy calculating code from the bandstructure code. This will help make the DoS code cleaner with minimal code duplication, and 'raw_data' will be more efficient to process than bands.