Correcting a few functions not handling Path having empty _segments (#143)
Correcting a few functions not handling Path having empty _segments (#143)

* Correcting poping from Path objects

Poping from a 1-lengthed Path would yield an error due to not considering that the _segments attribute would be empty after deleting the last element.

* Correcting point function

Unspecified behavior if _segments is empty

* Correcting setter and getter of start and end
mathandy/svgpathtools