Light localization pretty much works

I think there is some kind of mistake in the equation to calculate theta
though. However, code will work is lsl is conducted sufficiently close
to origin