Added arguments tolerance and parameters in Chart.valid_coordinates(); improved Chart.plot()