Function that decides most of the parameters that will be used during the "Haystack" analysis.
Useful links