Shaders added.
Lot of changes for generating the vertex array. The first structure was wrong. Now is a one dimension array.