The structural, thermodynamical and elastic properties of TiO