Fixed a bug (was using the resname not the resid, so the residues were wrong). Now it gives same result than the code I made before for TrpCage