Simulate photons using the Monte Carlo method as described in Chapter 3 of Lihong Wang's Biomedical Optics textbook. The code is based on the C++ version found on http://coilab.caltech.edu/mc.html