Refer the wiki page for detailed documentation. It has good explanation of the algorithm with examples https://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance
Fix bug in the extension.
ssProximity = Convert.ToDecimal(jaroDistance + SCALING_FACTOR * pos * (SCALING_FACTOR - jaroDistance));