commented comment about distance (2 does not mean 2 mm here)
removed spurious initialization
removed unused parameter