Updated residuals in parallel_regression.py