Took into account light distance

  Started Changing world to do shadows properly
  Changed plane in main.cpp to be in one plane
  Changed the scale value in image to be settable and 256 by default