Cleanups for Theil-Sen regression.