enables to pass PCD file by argument
enables to use PCD file as input
adds an option -thd