DotProduct function

Dot product of 2 vectors