[FIX]Fixed compute_tax method.