The Leontief Dynamic Generalized Inverse