Implement vector primitive ops