minor cleanup
some utils for saving datasets generated w/ spark
working version of writing vectors in a binary format straight from spark / hadoop