Multiroot solver very close but still buggy.