Bug fixes

General bug fixes for E(RB3LYP)