Debugging PoS not finished.
Improved implementation chapter.