Add KGW Retargeting Algo code