This PR fixes a bug meaning StateVector.read would crash when the nproc argument was applied.
StateVector.read
nproc