Distance Gradients retrieved and rendered for test purpose