added diameter function to PCLTools