Algorithms for Computing Curvatures from Range Data