Cubic Bezier paths are now handled correctly, fixes #4. Added some comments too