Merge pull request #222 from heiseda/master

Hashing and loop changes
Merge pull request #223 from heiseda/master

Corrected Incomplete Buffer Fill