matlab hw2 grading