I would like to thank Leonard McMillan for the original idea for this algorithm and countless helpful suggestions during its implementation, and Robert Wheeler and Jonathan McAllister for many useful discussions on form factors and the bahavior of light.