Spectral And Superpotential Effects In Heterotic Compactifications