Add command clear in Task and fix bug in FeaturePoint6dRelative

Can you please insert these commits into master ?
Thank you.