removed two unnecessary instructions from bmfs implementation
optimize memory allocation
Merge pull request #58 from benjaminsavoy/master

Performance enhancements
Style cleanup