Study of the material of the ATLAS inner detector for Run 2 of the LHC