Updated all header files for self checking, divided terrain data into segments and updated shaders