fixed vector dot-product, added element-by-element vector multiplication