Matrix Shape Approach to Scattering Theory