Calculations of the electronic structure of disordered transition metal dihydrides