Fixed a number of small bugs in the formulation of the Spatial (for Normal outcome) and Survival models.