Mathematics for DL.

Dot product: