Re-worked the corners algorithm. It works now! Yay!