Fixed 2D vector conversion by switching ndims() to size() and updated doc example to match code.
Merge pull request #26 from slundberg/master

Fixed 2D vector conversion by switching ndims() to size() and updated README