working on CPU but not GPU

Also using new visual package for 3D rendering