Line module cleaned a bit more, for use as 'model module', and updated polyline and arc with this improvement