added function to get local verts from a poly

I don't think there was currently a way to do this. Also the get_vertices function seems broken