1. A method for processing strokes, comprising the steps of: receiving one or more strokes using a stylus of a computing device; rendering said one or more strokes as ink on a display of said computing device; calculating Chebyshev polynomials for one or more coordinate points of said one or more strokes; passing said polynomials to one or more Bayes nets, said Bayes nets corresponding to one or more predetermined command gestures; and if the polynomials correspond to one or more of said Bayes nets, causing said computing device to execute one or more commands associated with said predetermined command gestures, and to delete said ink.