Pre-processing techniques for Tamil online handwritten character recognition