Checked code and fixed bugs

Re-writeed GArnaStructure-class, finished HMM-class for the precursors;