Add note about scalar results.
Add vec-max and vec-min.

Reorganise utilties.