Fixed a bug with the recursion popping algorithm. Implemented each of the different parameter profiles.