Reorganized and began python gui
Modified the basic max_func to avoid div by 0, reorganized python files, and fiddled with tuning parameters
Python reorganization