abstract lest rates, modify state model

test state model inference with gamma