some modifications in Matrix and AHPMatrix added