A numerical model for light interaction with a two