some bits and pieces of 3d math modules