Fixed double promotion warning
Change Ki and monitor the integral