added function to consistently orient normals outwards