fixed bugs in piswap
Merge branch 'master' of https://github.com/davidlindenbaum/GHOST-CPP