Create samplegen.m

Overall process. Reduce image data manifold onto 2D embeddings using Isomap. 
To obtain uniformly distributed samples, remove samples on over-dense regions and add new samples in sparse regions.