Formation energies from AFLOW (version 2)