Gravar-mail: Monte Carlo Simulations of Proteins in Cages: Influence of Confinement on the Stability of Intermediate States