Create distchck.m