Statistics for Computing Confidence Values for Geometric Constraints for use in Sketch Recognition