Check out the tool here
. My handwriting is pretty bad, especially when electronics are involved, so I'm not generally impressed by this sort of thing, but this application floored me. It's seriously smart. Outputs your choice of LaTeX or MathML.