matrix multiply, row/column vectors, homogenize shape initialization