Added the dot product to vector operations.