Added 3D plotting utilities, and minor updates to improve functionalities.