This is a replication of a paper I read for Leontiefs' matrix. I will update the link.