get_regression_constant function

Generic function for returning the constant term in the regression prediction at a node of a tree