Update StateSaver.java

Allows for changes to "headers" in case number of Subpopulations changes.