matching costs
computed ODF in python