The flexibility-rigidity index (FRI : theory and applications