implement makematrix function