clean up Visvalingam-Whyatt some
fixes #2