local rat = require('Module:Rational')
local p = {}
local function matmul(a, b)
local result = {}
for i = 1, #a do
result[i] = {}
for j = 1, #(b[1]) do
result[i][j] = 0
for k = 1, #(a[1]) do
result[i][j] = result[i][j] + a[i][k] * b[k][j]
end
end
end
return result
end
return p