check_input_interval function

Check that inputs are correct for interval-based forecast