Convert the 3d example
Converted the rest of the examples