cleaning code
Implementation of the normal vector perturbation