Updated threshold

Now has manually set variables to allow for more specific tuning of the
threshold