Fix bindings by storing correct vector type.
Merge pull request #325 from jdm/bindingfix

Fix bindings by storing correct vector type.