remove unused reshap function. a few samples remains needing to refactor
refactor the code
fix gltut 05e