fixed checksum calculations and found an error in the documentation