implemented point normals algorithm in python