added basichmm function to plottest.py. Still untested.