Vector logic implemented. First version.