wrap cluster() in cr2re_cluster_detect() whcih takes care of the input preparation.

git-svn-id: http://svnhq2.hq.eso.org/p2/trunk/Pipelines/cr2re/cr2rep@163100 318c8218-2dab-440d-9263-6f70bac63e5b
Functions made static


git-svn-id: http://svnhq2.hq.eso.org/p2/trunk/Pipelines/cr2re/cr2rep@163108 318c8218-2dab-440d-9263-6f70bac63e5b
start polynomail fitting
resolve minor merge conflict
put the cluster() results in a table right away