stanoptimis function

Optimize / importance sample a stan or ctStan model.