Updated the ms with the more recent analysis code to call on various proportions.