More Efficient Method for the Basis Transformation of Electron Interaction Integrals