test code snippet added

1) curve fitting with itk not working
2) Douglas-Peucker Algorithm?
3) Particle registration tomorrow