added optionalStarArm to polygonBySideLength

-lets users draw star polygons easily
-improved accuracy for precise closure of many-sided polygons