fixed transfering state change particles, always create a buffer with the correct size, this needs improvement
Merge branch 'master' of github.com:artcom/cclib