Though not necessary, It may be good to remember that d(xTw)/dw=x (at exercise 0.15) (and may be to point to the Matrix Cookbook)