ENH: add g1.scale(). Fixes #31

2 jobs for dev in 2 minutes and 2 seconds