Finish implementing.
Add plscmap1-range function.
Code cleanup.