Merge pull request #606 from mathquill/fix.sin-squared

Fix sin^2(x), and sin^2 x as cursor moves through #visual