Function dot

Calculates the dot product or the similarity of two vectors

T dot(T, uint dim) (
  Vector!(T,dim) first,
  Vector!(T,dim) second
);