Fixed ncorrelograms_max bug: this parameter can now be set in the preferences file.