Add script to vizualize tensors, corrections in shVisu and generate_synthetic