A matrix approach for weighted argumentation frameworks