MaxContiguousSum documented and improved.