Produce valid scale() syntax by avoiding trailing comma.
Merge pull request #114 from bak/fix_scale

Produce valid scale() syntax by avoiding trailing comma.