Fixed seg fault in vector plot tool. Fixes #110