Optimize by eliminating use of local temp matrices and
removing unneeded assignments. [Needs checking]
Authored by: ekarlo 1997-12-07
Parent: [r202]
Child: [r204]