Removed need for numpy by replacing the pixel perfect checks with masks instead of surfarray