directory created matrix