- added jacobian test, fixed bugs, added prior