Added NewPolyLine method to help create new PolyLine objects