Computing inspirals in Kerr in the adiabatic regime: I. The scalar case