Fixed the grid generation to go in the correct direction (horizontal strips). Fixed the marching triangles algo to work correctly in all cases (and I fully tested it this time).