Making sure inputs are numbers