Added binary search
Completed Implementation, saw small speed gain
Cleaned up code. Finished implementing paper's speed suggestions
quick adjustment