Removed commented lines
Removed more unneeded code
Removed density and angle arguments to polygon call