matrix analysis homework