solver that uses fractions as variables in place of mu
separated mu_n in and mu_n outside of nucleus