Update to document similarity code (cheating detection) using SCAM distance measure.