Mod 9 check digit. Calculate check digit using the Luhn algorithm.