Added functions for converting vectors of doubles to a string