Switched to defining extent by center and scale

Fixes #7