Given a vector = [1, 2, 3, 4, 5,6]
Is there a function which can convert it in to a Toeptliz matrix  of 4 columns as given below ?
[ [1,2,4,5],[2,4,5,6], [3, 4,5,6]
I want to apply this transform to a batch of vectors.