First principles calculations of thermodynamics of high temperature metal hydrides for NGNP applications