added mu_e checks to solver