Moved implementation to `stats.theilslopes`. Added tests to `stats`.