Ab initio calculations of thermomechanical properties and electronic structure of vitreloy