Added classes for random walks and similarities