pls write down what the dot product is mathematicall, i.e. $\sum_{i=1}^d a_ib_i$ where $a,b$ are $d$-dimensional vectors