Thank you so much. I'll change the code a bit later, and will update you on my findings.
I'm curious if the negative values would be pushed into the LED, or if the code treats negative values as equal to 0. Maybe an if else statement could handle that?
I'm not sure why the red LED seems to be on even if I'm "scanning" a green object, but I've had a bit better results when using a "shroud" around the sensor (to block out outside light). I diffused the LED with some tape for the time being, and the effect of the red is a lot less noticeable (good!).