A new inverse problem for the determination of textile fabrics thickness