Implemented Shape methods in Polyline