Merge pull request #7 from zhengbx/master

Non-particle number conserving calculations
a bug caused by nested if-else statement without bracket, the warm-up iteration was affected
serialization of newmat Matrix