Added GenerateCoord method and reworked LightBlock