Fixed bug relating to ASC,DEC, AND Flat Distances