Theoretical study of the electronic states of AlB