Continue to improve key zero detection

Also add another experiment; rotatedrect.cpp.