Removed Algorthim base class.

Added more specific Compute method to LayoutAlgorithm.