Introducing the Core Probability Framework and Discrete-Element Core Probability Model for efficient stochastic macroscopic modelling