Granular element method (GEM): linking inter-particle forces with macroscopic loading