Estimate depth and sample according to it.
* Fixed bug in depth computation
* Method to sample a at varying z-coordinates according to depth