updating dist.calc

adding comments