Class that applies both mass and length scaling to a stiffness matrix. Mass
scaling is applied to all blocks. Length scaling is applied to blocks
associated with frames that involve either angular or moment terms.
Modifies in place a solve or stiffness matrix K, along with an
(optional) force vector f and component list comps.
If provided, comps lists the components associated with
each block entry in K, and will be modified if any
rows/columns in K are permuted or deleted.
If provided, f and comps should have
sizes equal to the row (or column) size of K.