macro for multiple states
Merge branch 'master' of https://github.com/salilab/pmi