Added back multmatrix transform function

Looks like the multmatrix transform function was dropped during the latest round of re-writes.  Added it back.