Replaced y /= size() by y *= nt_inv in forest::operator()