Bug fix with vector add