Merge pull request #12 from def/master

Process changes merged
Bug fixed division 0 in SwapMemory()
Merge pull request #13 from gronpipmaster/patch-1

Bug fixed division 0 in SwapMemory()