Retain vector type when negating

Fixes #13