Pullphoton speedup

Per #98, this is the pull request that makes pullphoton a little faster.

I didn't realize my master branch forked from the cmillion repository is not clean. The only difference should be that I removed a naked try:except from the getcurve function. As this is a planned modification for all of the code per #83, I left it in this pull request rather than face the more Git headaches today.