Raphaël extension for calculating and drawing arc paths