Added runCGP and repeatCGP