Issue #4496: changes according to code review. Bug description moved to doc/source/release.rst, unit-test rewritten to check calculated data against test vector.