Homeworkmatrixfunctions