Fixed bug #3101, problem on ellipse2poly function
Added brackets around line 888-892 for correct code!
Merge pull request #1139 from StevenPuttemans:bugfix_3101