Simulation for training of liver surgery