Ported LayerRegion::make_slices() to XS
Ported GCodeWriter to XS (faster G-code export!)