Added first version of regression to CGML.