Check that ngrid, kmin_factor, kmax_factor are integers