geometry matrix product