dotProduct vectorized dot product for FE matrix assembly.
Call syntax: dotProduct(N1, N2) dotProduct(N1, v, N2)