http://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm Implementar esto en el algoritmo de simplificar líneas rectas