Included weighting scheme for lm(currently only done for no parameter or one double parameter
initial version of lmweight in omega,needs improvement