Simplified API to use only ``scaleoffset`` (eliminating ``scaleoffset_opts``).
Cleaned up unit tests and documentation.