Removed integer conversion, as it works better with floating points. Can now export to SVG with black lines