simplified horner() code
version 0.91.7