fixed horrible coefficient update typos in linear regr and logisic regr