Added horizontal average to VTK output