Update demo2d script
end merge
Fix bug: some optimisers return theta as a column vector
Merge branch 'develop' into spaceTimeGP
Integrating allistir bug fixes.