Bending rigidity of yarns using beam method on a two-support configuration