fixed bugs with positioning
correct snapping, first rotation for pie
some improvements to pie rotation
fixed small bugs in model with denominator decrease