minimum deviation method