Vectorized first and second derivatives for constant and isotropic model.  Both now have theta derivatives as column vectors, and seconds as matrices.