Support for 3d vector indexing from python.