Study of the electronic structure of short chain oligothiophenes