Better tests
For 3dmatrix to force the layer compositions
Update libs
Update libs