Adjusted the gitignore files to ignore eclipse and OS X meta files.
Fixed a boundary check bug.
Saved a little bit memory.
Changed the elimination round algorithm from O(n^3) to O(n^2)