Got the vector-valued case working

Thanks for Fabian whose code in the lme4 flexLambda branch reminded me of the local function.
Merge remote-tracking branch 'origin/master'
Delete trailing whitespace and untabify.