Tweaked API for transformCursor
Reworked exports to fix #4