Implenented modified Zhang method for skeletonization. Not functioning, needs debugged.