Added sorting by jade distances and modified jade distance to MatchToGen.py. Submit as v11