Bug fix: 'max distance' parameter was (wrongly) squared for cloud/mesh distance computation