Almost done diff for vector D