Workflow segmentation algorithm at the end of thesis project at Western (April 2012).