modif to allow change af base value when media is changed (3D)
add to allow 3d view
Corrected a problem of wells in 3D with bad discharge