Added 5 variable isCM function, and some new results.