Displacement Field Smoothing and Object Boundary Smoothing:
a) Unified the code to use the same function
b) Completely parallelized the code.
Contour smoothing procedure: introduced a notion of Tension to reduce the appearance of Attractors in the contours when multitude of point tends to congregate in a small space.
Left: New procedure Right: Old procedure with the attractor (red arrow)