Added integration methods to funcion and termino.

Signed-off-by: Jedabero <jedabero@hotmail.com>