improved code and documentation of ShamirPSS
improved code and documentation of RabinIDS
improved code and documentation of KrawczykCSS
added safeCast() to Krawczyk
improved some documentation and formatting
fixed minor formatting errors
readded checkForZeros()
Merge pull request #13 from efrantar-tgm/code_improvement

Code improvement + fixes