add.shape function

Adding shape to a 3D volume.