New file Iterative sampling.m added