Size- and temperature-dependent bending rigidity of graphene using modal analysis