Now also calculates the angle when you use SVG paths.