Added Hadamard product.