plotting the sum of squared error for simple exponential fit using different smoothing factor value to find the optimal value