Simplified finding corners of images/shapes