Python/SWIG layer fixes for cell orientation.

Improve a bunch of std::vector<T>::data() calls.