Use raphael matrix in the transform method

I change the method d3.transform = function(string) to use the Raphael Matrix. The old version of this method used d3 to calculate the position and it throw bugs in IE.