Stochastic mapping and key innovation tests (old)

Python code for stochastic mapping and key innovation tests. Not pretty, easy to use, or well documented. Please email me for advice in running this.  Those wishing to test key innovation hypotheses should consider BiSSE (Maddison et al., 2007, Syst. Bio.)