Matrix Analysis of Framed Structures