Shows error and exits if input is NaN