fixed bug in bitvector serialization
Merge pull request #41 from kryptnostic/bugfix/serialize-bitvector

fixed bug in bitvector serialization