Hi Andrew,
Thanks very much! I have tried the new version of make_average_surface and it works fine. I am very gratefull.
Best,
M del Mar