Compare profile likelihood curves

Added a function to determine how significant the difference between
two profile likelihood curves is.

Also extended the curvatures checked and cleaned up some code for
publishing to Rpubs.