Modelling Angular Distribution Of Light Emission In Granular Scintillators Used In X-Ray Imaging Detectors