Check for infinites and pick better first stepsize