Fixed broken soy files from initial commit
Merge remote-tracking branch 'origin/new-tex-output'
Added friction concept and fixed MathJAX inline rendering.