added remove point defects.m