In-memory associative processing for vectors