improved twirl algorithm

twirl can now be used to edit and make spirals and circles