Create checkdist.m