Refactor code

Primary change is refactoring > 0 comparisons to  != 0 for bitboards.