Extended example to show all options and support tolerance

Corrected type of properties to double
Extended example to show all options and support tolerance