Mostly added proper destructors to headers

  Made everything run
  Added implementation to ray
  Don't know what changed in CMakelists.txt and colour.cpp ...