Tidied up some SVG transform parsing code.