Create matrix using strings