Fixed bug in which qdisk structure was incorrectly zeroed before photon generation