Two Dimensional Principal Component Analysis for Online Tamil Character Recognition