Luminous intensity calculation

And just to add, I’m coming from more of a design background than a programming background so my math abilities/knowledge probably aren’t where they would need to be in order to make some of the more advanced calculations (matrices mostly). —Thank you!