Change input/output of sphere and tissue to handle all photon variables
De-globalize stotalbin
Converted all global varibles to be passed around in a struct
Output filename and change timer to use tic/toc
Disable per-thousand loop, don't pass stotalbin to functions which don't use it
Move stotalbin to a local variable, implement parfor