added comment in optWeightLin.m