Efficient pre-processing, feature extraction and post-processing algorithms for recognition of online handwritten Gurmukhi script