Dot product calculation done