Added Russian Roulette path termination; fixed a weird bug in the for loop for sampling that never manifested itself before