updated student_matlab grab to do its job better