optimized code, corrected light curve

cut runtime in half by flipping intersection points over the x axis
instead of calculating symmetrical interactions