How to build a tetrahedron matrix?

at first, i thought you were trying to pack regular tetrahedrons into a 3D tessellating structure… now im not sure what you are trying to do.