Calculated energies and geometries for hydrogen impurities in Al and Mg | Synapse