Enviar por SMS: The Monte-Carlo refractive index matching technique for determining the input parameters for simulation of the light collection in scintillating crystals