fixed buggy 7x7 marker code detection
simplified 7x7 marker code detection and fixed some bugs