Jeffreys prior (cleaned)

This is a cleaned up version of #254.  `make check` passes locally, so I'm going to merge this.