Add rebar to .gitignore
Use bitwise operation instead of math:pow/2