adding vector exporter
updated export functionality for vectors