Updated integrate module.
Added complex datatype