Change log to give correct answer for log(1) and to not subtract towards the correct answer when that answer is small. Also improves series convergence.