Radiative transfer modelling in inhomogeneous clouds by means of the MonteCarlo method