Added the iMacros algorithm.  Also a slight fix to the framework, reinitializing subalgorithms before each stage.