replace LinearFunction with dot.Util.linear
update
update
update