Create getAssignmentMatrix.R