Improved accuracy and precision of zero-crossing algorithm for large x-values.