Cleaned up SCF_BLAS code