Added VectorCalculator class to calculate directional data of image skeleton.
Improved image thinning algorithm.