added checkStDists.py