Heatmap generation for the potential field implemented