An object-oriented MATLAB Toolbox for modeling metal hydride thermal systems and hydrogen storage systems