Added 3D animations and real-time plotting