Theoretical Study of Nitrogen Absorption in Metals