FeatureRMS and FeatureZCR modified so that ZCR would not segfault anymore