FIX: in annotate, fixed error in checking iterable

The threshold value can be a single number or a list of numbers... but the code needs to be able to call threshold[0]. So, we check if it is iterable, then turn any single numbers into a list. This is associated with pull request #104.