Parallel implementation of Least Squares Root (Python)