PhoSim Detailed Technical References and Information