check_input_sample function

Check that inputs are correct for sample-based forecast