Started working on Rosetta loopmodel functions