Changed RemoveIllumination

I believe this change makes the program more dynamic.