Removed log computation for gradient ground truth and putting small gradients into shading