A few more files were modified to adapt to the new ErrorCharac function. Including savePlot.m, writePrimitivesToFile.m, cleanUp.m, WriteCompositesToFile.m, plotMotionCompositions.m, plotLowLevelBehaviors.m. I also included the hlbehComposition_new function to check for the 5th layer and also a parfor loop that does not seem to improve performance.