Change the weights.
Add the plot from the 'correct' weights.
Use the cumulative sums to speed up the inner product.
Merge branch 'master' of github.com:xiaoying-tian/regreg