Added UDF description
Changed the defualt n_dims to 500
Fixed the logic in the retry
Merge pull request #77 from myui/hotfixes

Hotfixes