Restoring tests
Prepare for SAMC sampling
Small fix
Try higher order function prior
Fix significant del_edge bug
Improve speed of prior