fixed directories
added variable for number of panels
fixed integral
optimized code to improve speed
changed 0th moment to find total dye
no longer converts to ppb