Fixed bugs in serial, completed checksum for new stateVector