Changed the conflict() function to check at most 4 conditional statements instead of 7.
Completely removed the conditionals from getRegion() in favor of some simple modulo math. This unexpectedly hindered performance, albeit only slightly.