added class to write query features to a csv compatible with weka