Moved the extra matrix functions to linmath.h.
Add touch interaction.