Fixed seg faults in Max Heap and KD Tree; Commented multiple sections of code more thoroughly.
Adding log folder to log photon output