renamed 2 global variables
added the proper way of doing an intersection (probably an issue in OpenSCAD)