inputCheck function

Check the inputs to growth rate functions