Simple calculation of optical absorption of Ni in the near infrared