ray tracer trace() only calculates light for closest object, added input light parsing