Processed changes suggested by Timo in velocity_boundary_statistics