Added smooth cutoff program