Well, I don't know if there's a program that can convert from handwriting. However, Mathematica can convert from its code (which is fairly quick to type in, with the palettes and all) to TeX code. I use that sometimes.