Update analysis.h
Merge pull request #43 from mlund/develop

Update analysis.h