fix issue #82 by emptying photon array differently on reset