Added new 3D code to SimsLib.