straightened out internal vector conventions.