Yilmaz Analytic Method

Added chemical potentials and equations for spinodal and critical
point. Split code into compartmentalized functions for easier debugging
and readability. Still gets trapped at trivial solutions. Tried fmincon
and global search. global search yielded better results but is still
not robust.