Automatic deburring of pieces of unknown shape and other force control applications