Input-Output Analysis: Foundations and Extentions