Math: vector dot product in terms of component-wise multiply and sum.

Less SIMD alternatives to implement in the future.