first draft of cluster_FeatureFix.m and corresponding functions; to be tested on grid