Model based scattering correction in time-of-flight cameras