fixed compatibility_threshold function, function name and returned variable were mispelt compatbility_threshold
Merge pull request #3 from yinshanyang/master

Fixed misspelt function names and variables for compatibility threshold.