This is the commit before we fix the pattern recognition to work with tilted sensors.  This is needed since it is approximate and might not always hit the planes