vectorization of chemistry