changed horner to muller method