make reshapeToVectorRecursive and reshapeRecursive static
Merge pull request #1 from GordonLesti/develop

make reshapeToVectorRecursive and reshapeRecursive static