Implementing Checksum Using Python Help Function Example Matlab