Fixed mixed distribution fitting reproducible example, refactored the functionality into a separate R module and integrated it with main EDA code (preliminary, still ironing out issues).