missing input error check: Check that the number of thresholds is indeed the number input by the user