calculate the correct kontrollsiffra