Fixed bug in reflection, added tree like structure for refraction