Mapping flat curve to round surface

im trying to map the flat curve to the round surface but its not working right.
im not sure what im doing wrong here but it seems to be mapping the points in the wrong directions.

map.3dm (135.7 KB)
map.gh (11.6 KB)

Try this instead:

map-rev.gh (17.0 KB)