M Visvalingam and J D Whyatt line simplification algorithm