Third Draft

New
---

Changes
-------
* rottDB_0 removed; now using length
* Using malloc instead of calloc