Added some algorithms and measures.