pushed .factor_to_vector into C code, added option to make atom pair names unique or not