Useful optical simulation methods in illumination design