Added dot product.