Fixed a buffer overrun bug.
Improved some multiplication code.
Merge pull request #129 from greg-king5/cbmdir

Update 2 CBM directory functions.
Merge remote-tracking branch 'upstream/master'