A level set approach for denoising and adaptively smoothing complex geometry stereolithography files