Part of the Matrix Manipulation Package by Mark Meuer
