kernel binary matrix test
solve refactored + kernel repaired