Updates to make the regression module more clean
Moved errors.d from dcmp to dcode common code folder
Initial import of oldish project