Threshold Filter

Added the threshold filter to AccelerPaint.