Turn vectors and lists of vectors into indexed structures

WWW: https://fbertran.github.io/turner
