Added dot prodect method to Vector3d class