Added vector dot product functions