assorted fixes
first crack at a caching object
Merge branch 'params' of github.com:SheffieldML/GPy into params