Corrected use of integration to functional

Use integration in wrong context, a penalty of programming at 00:30.