some deletions and updates to photon plotting code

A few changes