fixed model type error
fixed discreteCorrelation

should now work properly with two two-state characters; untested though