isWithinThreshold_(number val1, number val2, number threshold) ⇒ boolean
Returns true if the difference between val1 and val2 is less than or equal to the threashold.