Gradient matching and various minor changes.
Started JRSS paper.