Finished distvec. Need more testing