decompose, interpolate, compose operations on 3d matrices.