fitThresh function

Fits binary, multi-state, and semi-threshold models using the discretized diffusion approximation