hibbing-helpers function

Apply a Hibbing 2018 two-regression algorithm