Added early version of the social_stability function.
Adjusted the travis script to not build latex.
Writing.