Running Python code for light simulation

Replied to your questions here:

I’m closing this topic to avoid duplication.