Add dot product in Vector.java