Added the StatAnal library as a rewrite.