MSXα calculations of octahedral clusters in titanium and vanadium oxides