Introducing multiple splittings

Starting to add/adapt the regression functions from Georgia