Compute cot_weight in ArapSolver::Precompute.