Changed Error to use std::string and moved gnuplot script out of code directory.