Added run detection to peak generator

Added preview for actual pixels for comparison