add dist proc for vectors